import { POST, UPLOAD } from '@/services/request.js'

export default {
    login(data = {}) {
        return POST({
            url: '/business/login',
            params: data
        })
    },
    check(data = {}) {
        return POST({
            url: '/business/check',
            params: data
        })
    },
    profile(data = {}) {
        return UPLOAD({
            url: '/business/profile',
            params: data
        })
    },
    send(data = {}) {
        return POST({
            url: '/business/send',
            params: data
        })
    },
    email(data = {}) {
        return POST({
            url: '/business/email',
            params: data
        })
    },
    poster(data = {}) {
        return POST({
            url: '/team/poster',
            params: data
        })
    },
    record(data = {}) {
        return POST({
            url: '/business/record',
            params: data
        })
    },
    retailmember(data = {}) {
        return POST({
            url: '/business/retailmember',
            params: data
        })
    },
    commission(data = {}) {
        return POST({
            url: '/business/commission',
            params: data
        })
    },
    getMoney(data = {}) {
        return POST({
            url: '/business/getMoney',
            params: data
        })
    },
}